package com.gitee.center.test.flow.form;

import com.gitee.center.runtime.annotation.Step;
import org.jetbrains.annotations.NotNull;

/**
 * 完成首个任务
 */
@Step(value = "passFirstTaskStep")
public class CompleteFirstTaskStep extends StartProcessInstanceStep{
    @Override
    public @NotNull String stepCode() {
        return "passFirstTask";
    }

    @Override
    public void execute(@NotNull ProcessInstance model) throws RuntimeException {
        System.out.println("完成首个任务");
    }
}
